home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / c / ExtrasLib.lha / ExtrasLib / Include / Extras / gui.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-30  |  919 b   |  47 lines

  1. #ifndef EXTRAS_GUI_H
  2. #define EXTRAS_GUI_H
  3.  
  4. #ifndef EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7.  
  8. struct GUI_String
  9. {
  10.   WORD NormalSize;
  11.   STRPTR String;
  12. };
  13.  
  14. struct BevelBox
  15. {
  16.   WORD X,Y,Width,Height,Scale;
  17. };
  18.  
  19. #define BBSCALE_WIDTH   (1<<0)
  20. #define BBSCALE_HEIGHT  (1<<1)
  21.  
  22.  
  23. /* A better use for ng_VisualInfo */
  24. #define ng_LayoutFlags  ng_VisualInfo
  25.  
  26. /* custom ng_Flags value */ 
  27. /* ng_VisualInfo */
  28. #define NG_FITLABEL         0x8000000
  29. #define NG_JUST_LABEL       0x4000000
  30. #define NG_JUST_RIGHT       0x2000000
  31. #define NG_JUST_HORIZCENTER 0x1000000
  32. #define NG_JUST_BOTTOM      0x0800000
  33. #define NG_JUST_VERTCENTER  0x0400000   
  34. #define NG_JUST_LEFT        0  /* For no other reason than consistency */ 
  35. #define NG_JUST_TOP         0  /* For no other reason than consistency */ 
  36.  
  37. #define NG_REAL_GT_FLAGS    0x03fffff
  38.  
  39. /*
  40. struct MakeGadgets Context
  41. {
  42.   struct Gadget *GadList;
  43.   struct 
  44. };
  45. */
  46. #endif /* EXTRAS_GUI_H */
  47.